<?php 
defined('RUN_KATANA') or die('Restricted access');
$commander->setPostAction('list');
if(defined('AJAX_RUN'))
{
	if(!$_POST)
	{
		if(OUTPUT_FORMAT == 'json')
		{ require('forms/list-items-json.php'); }
		else
		{ require('forms/list-items.php'); }
	}
}
else
{ ?>
<div class="tabs" style="height:100%;">
	<ul>
    	<li><a href="#ad_brands" style="font-size:0.9em;"><?php echo ucfirst($txt->getWord('brands')); ?></a></li>
	</ul>
	<div id="ad_brands"><?php require('forms/list.php'); ?></div> 
</div>
<?php 
}
?>